function resize_fcn
    set(gcf,'units','pixels');
    set(gca,'units','pixels');
    w_pos = get(gcf, 'position');
    set(gca, 'position', [0 0 w_pos(3) w_pos(4)]);
end